Black box model of power converter